package com.td.module.member.controller.admin.appMemberUser.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@ApiModel("管理后台 - app用户更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppMemberUserUpdateReqVO extends AppMemberUserBaseVO {

    @ApiModelProperty(value = "编号", required = true, example = "28116")
    @NotNull(message = "编号不能为空")
    private Long id;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "注册 IP", required = true)
    private String registerIp;

    @ApiModelProperty(value = "最后登录IP")
    private String loginIp;

    @ApiModelProperty(value = "农户id", example = "7065")
    private Long farmerId;

}
